@import '@/styles/var.scss';
.login-page{
    min-width: 1200px;
    min-height: 100%;
    .bg,
    .main{
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        min-width: 1200px;
        min-height: 650px;
        z-index: 1;
    }
    .bg{
        background-image: url('~/public/imgs/login_bg.jpg');
        background-position: center;
        background-attachment: fixed;
        background-size: cover;
    }
    .login-form{
        position: absolute;
        right: 15%;
        top: 50%;
        transform: translateY(-60%);
        width: 430px;   
        padding: 0 0 30px 0;
        border-radius: 5px;
        box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.5);
        background: #fff;
        .logo-link{
            display: block;
            text-align: center;
            margin: 40px auto 30px;
        }
        .title{
            font-size: 16px;
            text-align: center;
        }
        .title,
        .code-btn{
            color: #666;
        }
        .form{
            width: 330px;
            margin: 18px auto 5px;
        }
        .merge{
            width: 50%;
            display: inline-block;
        }
        .phone,
        .code,
        .code-btn{
            height: 45px;
            line-height: 44px;
            padding: 0 10px;
            font-size: 14px;
        }
        .code-btn{
            width: 160px;
            margin-left: 5px;
            &>span:first-child{
                vertical-align: -4px;
            }
        }
        .btn{
            width: 100%;
            height: 46px;
            line-height: 44px;
            font-size: 18px;
            padding: 0 14px;
            border-radius: 3px;
            background: linear-gradient($lightColor, $mainColor);
            &:hover{
                background: linear-gradient($lightColor, $lightColor);
            }
        }
    }
    .nav{
        margin-top: 30px;
        text-align: center;
        .sep{
            margin: 0 8px;
            color: #ddd;
        }
        p{
            margin: 3px 0;
            color: #777;
            font-size: 12px;
        }
        a{
            color: #777;
            &:hover{
                color: $mainColor;
            }
        }
    }
}